package com.jiangdg.usbcamera.login;

import com.google.gson.annotations.SerializedName;

public class LoginInfo {

    /**
     * code : 0
     * msg : V3VodWlxaW5nOmQ3ODM0M2QzLTk4OWUtNDllNC05MTExLTg4MzFkZjkxOWI4ZDpGRjI3MzRBMkVGODgyNDgzQTE2MUI2Qzc5RjMwQTg0RjoxNjAyNjI2Mjkx
     * data : {"id":"f08822f8-911a-42cf-981a-2d83901f246c","name":"吴慧卿","userName":"Wuhuiqing","mobile":"13904778601","logo":"https://api.bonjourmed.com/res/doctor/0066a6b6-3054-414f-b535-6432a334b849.jpg"}
     * status : true
     */

    private int code;
    @SerializedName("msg")
    private String token;
    @SerializedName("data")
    private DataBean userinfo;
    private boolean status;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public DataBean getUserinfo() {
        return userinfo;
    }

    public void setUserinfo(DataBean userinfo) {
        this.userinfo = userinfo;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public static class DataBean {
        /**
         * id : f08822f8-911a-42cf-981a-2d83901f246c
         * name : 吴慧卿
         * userName : Wuhuiqing
         * mobile : 13904778601
         * logo : https://api.bonjourmed.com/res/doctor/0066a6b6-3054-414f-b535-6432a334b849.jpg
         */

        private String id;
        private String name;
        private String userName;
        private String mobile;
        private String logo;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }
    }
}
